package com.weixing.mall.provider.model.vo.report.finance;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author jzy
 * @date 2020/5/31
 */
@Data
@Accessors(chain = true)
@ApiModel(value="FinancePromoteDetailVo", description="财务部-代理晋升报表-晋升明细")
public class FinancePromoteDetailVo {
    @ApiModelProperty(value = "所属客服Id")
    @ExcelIgnore
    private Long customerId;
    @ApiModelProperty(value = "代理商Id")
    @ExcelIgnore
    private Long agentId;


    @ApiModelProperty(value = "所属客服")
    @ExcelProperty("所属客服")
    private String customerName;
    @ApiModelProperty(value = "代理名称")
    @ExcelProperty("代理名称")
    private String agentName;
    @ApiModelProperty(value = "晋升前等级")
    @ExcelProperty("晋升前等级")
    private String levelBefore;
    @ApiModelProperty(value = "晋升后等级")
    @ExcelProperty("晋升后等级")
    private String levelAfter;
    @ApiModelProperty(value = "原上级")
    @ExcelProperty("原上级")
    private String parentBefore;
    @ApiModelProperty(value = "晋升后上级")
    @ExcelProperty("晋升后上级")
    private String parentAfter;
    @ApiModelProperty(value = "操作人")
    @ExcelProperty("操作人")
    private String operator;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("操作时间")
    private Date createdTime;

}
